package com.scpii.universal.pns.service;

import java.util.List;
import java.util.Map;

import com.scpii.universal.hibernate.dao.BaseDao;
import com.scpii.universal.hibernate.intface.BaseInterface;
import com.scpii.universal.pns.hibernate.entity.Address;

public class AddressService implements BaseInterface<Address> {

	private BaseDao<Address> addressDao;
	
	public void setAddressDao(BaseDao<Address> addressDao) {
		this.addressDao = addressDao;
	}

	public Address get(Long id) throws Exception {
		return addressDao.get(id);
	}
	
	@Override
	public Address get(Integer id) throws Exception {
		return null;
	}

	@Override
	public List<Address> getAll() throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Address get(String propertyName, Object value) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Address> getList(String propertyName, Object value)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Long getTotalCount() throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void save(Address obj) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void update(Address obj) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(Address obj) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public void delete(Integer id) throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<Address> hqlGetList(String hql, Map<String, Object> argsMap)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void hqlUpdate(String namedHqlQuery, Map<String, Object> argsMap)
			throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Long hqlGetNums(String namedHqlQuery, Map<String, Object> argsMap)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Address> sqlGetList(String sqls, Map<String, Object> argsMap)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void sqlUpdate(String sqls, Map<String, Object> argsMap)
			throws Exception {
		// TODO Auto-generated method stub
		
	}

	@Override
	public Long sqlGetNum(String sqls, Map<String, Object> argsMap)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

}
